package com.cssy.yd.logic.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.yd.logic.entity.LogicPoWareDO;
import com.cssy.yd.logic.entity.LogicPoWareItemDO;
import com.cssy.yd.logic.entity.ReportCqtjDO;
import com.cssy.yd.logic.entity.ReportCqtjItemDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;
import com.yuendong.sy.exception.SyCodeException;

public interface ILogicPoWareService extends IBaseService<LogicPoWareDO> {

	public SearchResult findItemListByExample(SearchConditions scs) throws SyBaseException;
	
	public Integer deleteItem(String id) throws SyBaseException;
	
	public void deleteByPid(String pid) throws SyBaseException;
	
	public Integer updateItem(LogicPoWareItemDO t) throws SyBaseException;
	
	public LogicPoWareItemDO saveItem(LogicPoWareItemDO t) throws SyBaseException;
	
	public LogicPoWareItemDO findItemListById(String id) throws SyBaseException;
	
	public List<LogicPoWareItemDO> findItemListBypoId(String id) throws SyBaseException;
	
	@Transactional
	public void waresave(HttpServletRequest request,LogicPoWareDO logicPoWareDO)throws SyBaseException,SyCodeException;

	public List<ReportCqtjItemDO> findListByReportCqtjDO(ReportCqtjDO scs)
			throws SyBaseException;
	public List<ReportCqtjItemDO> findListByWh(ReportCqtjDO scs)
			throws SyBaseException;
	public Integer untreatedPowarecode(Map<String, Object> map) throws SyBaseException;
	
	public SearchResult findAuthorityStatusListByExample(SearchConditions scs) throws SyBaseException;
}
